from app import db


class BookChapter(db.Model):
    __tablename__ = "book_chapter"
    book_id = db.Column(db.BigInteger, nullable=False)
    chapter = db.Column(db.String(30), nullable=False)
    chapterNum = db.Column(db.Integer, nullable=False, primary_key=True)
